package com.monitoring.management.facade;

import com.monitoring.management.common.Response;
import com.monitoring.management.core.command.LoginCommand;
import com.monitoring.management.core.command.RegisterCommand;
import com.monitoring.management.core.command.query.QueryUserCommand;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by liujunnan on 2017/6/6.
 */
public interface UserFacede {
    Response login(LoginCommand loginCommand);

    Response register(RegisterCommand registerCommand);

    Response pageUser(QueryUserCommand queryUserCommand);

    Response getExcelBySupply(String supplierId, HttpServletResponse res) throws IOException;
    Response usersListSave(String filePath, String userId);
    Response ListSave(String filePath);
}
